package logic.common.team;

public enum Fraction  {
	
	HUMAN, ALIEN, DUMMY;
	
	@Override
	public String toString() {
		switch(this) {
			case HUMAN : return "Human";
			case ALIEN : return "Alien";
		}
		return null;
	}
	
	public static Fraction getFraction(String name) {
		if(name.equals("Human")) return HUMAN;
		else if(name.equals("Alien")) return ALIEN;
		return null;
	}
}
